﻿<UserControl x:Class="FileExplorer.WPF.Views.EntryIconView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:v="clr-namespace:FileExplorer.WPF.Views" 
             mc:Ignorable="d"  
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="30" />
        </Grid.RowDefinitions>
        <Image Source="{Binding Icon.Value, Mode=OneWay}" Grid.Row="0" />
        <TextBlock x:Name="Label" Text="{Binding EntryModel.Label}" Grid.Row="1" />
    </Grid>
</UserControl>
